package roleenum

type roleStatus int

const (
	Enable  roleStatus = 1
	Disable roleStatus = 2
)

var ListStatusMap = map[roleStatus]string{
	Enable:  "启用",
	Disable: "禁用",
}

func (p roleStatus) StringStatus() string {
	if v, ok := ListStatusMap[p]; ok {
		return v
	}
	return "空"
}
